import React, { Component } from 'react'

export default class Mouse extends Component {
  render () {
    return (
      <div>
        <img
          style={{
            position: 'absolute',
            left: this.props.position.x,
            top: this.props.position.y,
            width: 150,
            height: 100
          }}
          src='https://t10.baidu.com/it/u=3113406853,207789330&fm=30&app=106&f=JPEG?w=640&h=480&s=308A22F14493C9C60429B72103007054'
          alt=''
        />
      </div>
    )
  }
}
